all: ftpClient

ftpClient: ftpClient.o ftpSocket.o
	gcc -o ftpClient ftpClient.o ftpSocket.o -L/usr/lib -lssl -lcrypto -lpthread

ftpClient.o: ftpClient.c ftpClient.h
	gcc -o ftpClient.o -c ftpClient.c -L/usr/lib -lssl -lcrypto -lpthread

ftpSocket.o: ftpSocket.c ftpSocket.h 
	gcc -o ftpSocket.o -c ftpSocket.c -L/usr/lib -lssl -lcrypto -lpthread

clean:
	rm -rf *.o
